Optimal. Leaf size=80 \[ -\frac {2 a^3 c^4 (a-b x)^5}{5 b^3}+\frac {5 a^2 c^4 (a-b x)^6}{6 b^3}-\frac {4 a c^4 (a-b x)^7}{7 b^3}+\frac {c^4 (a-b x)^8}{8 b^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 80, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {76}
\begin {gather*} -\frac {2 a^3 c^4 (a-b x)^5}{5 b^3}+\frac {5 a^2 c^4 (a-b x)^6}{6 b^3}+\frac {c^4 (a-b x)^8}{8 b^3}-\frac {4 a c^4 (a-b x)^7}{7 b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 76
Rubi steps
\begin {align*} \int x^2 (a+b x) (a c-b c x)^4 \, dx &=\int \left (\frac {2 a^3 (a c-b c x)^4}{b^2}-\frac {5 a^2 (a c-b c x)^5}{b^2 c}+\frac {4 a (a c-b c x)^6}{b^2 c^2}-\frac {(a c-b c x)^7}{b^2 c^3}\right ) \, dx\\ &=-\frac {2 a^3 c^4 (a-b x)^5}{5 b^3}+\frac {5 a^2 c^4 (a-b x)^6}{6 b^3}-\frac {4 a c^4 (a-b x)^7}{7 b^3}+\frac {c^4 (a-b x)^8}{8 b^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 87, normalized size = 1.09 \begin {gather*} \frac {1}{3} a^5 c^4 x^3-\frac {3}{4} a^4 b c^4 x^4+\frac {2}{5} a^3 b^2 c^4 x^5+\frac {1}{3} a^2 b^3 c^4 x^6-\frac {3}{7} a b^4 c^4 x^7+\frac {1}{8} b^5 c^4 x^8 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 76, normalized size = 0.95
method | result | size |
gosper | \(\frac {x^{3} \left (105 b^{5} x^{5}-360 a \,b^{4} x^{4}+280 a^{2} b^{3} x^{3}+336 a^{3} b^{2} x^{2}-630 a^{4} b x +280 a^{5}\right ) c^{4}}{840}\) | \(61\) |
default | \(\frac {1}{8} b^{5} c^{4} x^{8}-\frac {3}{7} a \,b^{4} c^{4} x^{7}+\frac {1}{3} a^{2} c^{4} b^{3} x^{6}+\frac {2}{5} a^{3} c^{4} b^{2} x^{5}-\frac {3}{4} a^{4} c^{4} b \,x^{4}+\frac {1}{3} a^{5} c^{4} x^{3}\) | \(76\) |
norman | \(\frac {1}{8} b^{5} c^{4} x^{8}-\frac {3}{7} a \,b^{4} c^{4} x^{7}+\frac {1}{3} a^{2} c^{4} b^{3} x^{6}+\frac {2}{5} a^{3} c^{4} b^{2} x^{5}-\frac {3}{4} a^{4} c^{4} b \,x^{4}+\frac {1}{3} a^{5} c^{4} x^{3}\) | \(76\) |
risch | \(\frac {1}{8} b^{5} c^{4} x^{8}-\frac {3}{7} a \,b^{4} c^{4} x^{7}+\frac {1}{3} a^{2} c^{4} b^{3} x^{6}+\frac {2}{5} a^{3} c^{4} b^{2} x^{5}-\frac {3}{4} a^{4} c^{4} b \,x^{4}+\frac {1}{3} a^{5} c^{4} x^{3}\) | \(76\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 75, normalized size = 0.94 \begin {gather*} \frac {1}{8} \, b^{5} c^{4} x^{8} - \frac {3}{7} \, a b^{4} c^{4} x^{7} + \frac {1}{3} \, a^{2} b^{3} c^{4} x^{6} + \frac {2}{5} \, a^{3} b^{2} c^{4} x^{5} - \frac {3}{4} \, a^{4} b c^{4} x^{4} + \frac {1}{3} \, a^{5} c^{4} x^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.41, size = 75, normalized size = 0.94 \begin {gather*} \frac {1}{8} \, b^{5} c^{4} x^{8} - \frac {3}{7} \, a b^{4} c^{4} x^{7} + \frac {1}{3} \, a^{2} b^{3} c^{4} x^{6} + \frac {2}{5} \, a^{3} b^{2} c^{4} x^{5} - \frac {3}{4} \, a^{4} b c^{4} x^{4} + \frac {1}{3} \, a^{5} c^{4} x^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.02, size = 85, normalized size = 1.06 \begin {gather*} \frac {a^{5} c^{4} x^{3}}{3} - \frac {3 a^{4} b c^{4} x^{4}}{4} + \frac {2 a^{3} b^{2} c^{4} x^{5}}{5} + \frac {a^{2} b^{3} c^{4} x^{6}}{3} - \frac {3 a b^{4} c^{4} x^{7}}{7} + \frac {b^{5} c^{4} x^{8}}{8} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.49, size = 75, normalized size = 0.94 \begin {gather*} \frac {1}{8} \, b^{5} c^{4} x^{8} - \frac {3}{7} \, a b^{4} c^{4} x^{7} + \frac {1}{3} \, a^{2} b^{3} c^{4} x^{6} + \frac {2}{5} \, a^{3} b^{2} c^{4} x^{5} - \frac {3}{4} \, a^{4} b c^{4} x^{4} + \frac {1}{3} \, a^{5} c^{4} x^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 75, normalized size = 0.94 \begin {gather*} \frac {a^5\,c^4\,x^3}{3}-\frac {3\,a^4\,b\,c^4\,x^4}{4}+\frac {2\,a^3\,b^2\,c^4\,x^5}{5}+\frac {a^2\,b^3\,c^4\,x^6}{3}-\frac {3\,a\,b^4\,c^4\,x^7}{7}+\frac {b^5\,c^4\,x^8}{8} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________